package com.li.youhappygo;

import com.li.youhappygo.annotation.EnableLog;
import com.li.youhappygo.property.ExcludePattern;
import com.li.youhappygo.property.MinioProperty;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@EnableConfigurationProperties({ExcludePattern.class, MinioProperty.class})
@EnableLog
@MapperScan("com.li.youhappygo.mapper")
public class YouHappyGoApplication {

    public static void main(String[] args) {
        SpringApplication.run(YouHappyGoApplication.class, args);
    }

}
